<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script>
    for (var i = 1; i <= 10; i++) {
        document.write(i + " ")
    }
    document.write("<hr>")
    var array_list = ["python", "java", "html", "javascript"]
    for (var j = 0; j < array_list.length; j++){
        document.write(array_list[j] + "&emsp;")
    }


</script>

</body>
</html>